export interface RoleItem {
    id: number
    name: string
    description: string
    status: number
    type: number // 1学生 2老师 3管理员
    creator_id: number
    created_at: string
    updated_at: string
}

export interface RoleItemCreate {
    name: string
    description: string
    status: number
    permissions: number[]
}

export interface ClassTeacher {
    id: number
    name: string
    description: string
    users: ClassTeacherUser[]
}

export interface ClassTeacherUser {
    id: number
    role_id: number
    first_name: string
    last_name: string
    avatar_url: string
    email: string
}
